#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int a;
    int s1 = 0, s2 = 0;
    scanf("%d", &a);
    s1 = a / 1;
    s2 = 10 + a / 10;
    s1 > s2 ? printf("v") : printf("w");
    return 0;
}